projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2766966
)
sunxi: Enable pre-console buffer
author
Siarhei Siamashka
<
[email protected]
>
Thu, 8 Jan 2015 07:02:32 +0000
(09:02 +0200)
committer
Hans de Goede
<
[email protected]
>
Wed, 14 Jan 2015 13:56:40 +0000
(14:56 +0100)
This allows to always have a complete log on the VGA/HDMI/LCD console.
Signed-off-by: Siarhei Siamashka <
[email protected]
>
Acked-by: Hans de Goede <
[email protected]
>
Signed-off-by: Hans de Goede <
[email protected]
>
include/configs/sunxi-common.h
patch
|
blob
|
history
diff --git
a/include/configs/sunxi-common.h
b/include/configs/sunxi-common.h
index 64d379a3efeefb57cd80b77cc8acd6465c02a0ee..e839053e2ba995ca3388f251fdb6e0f8bf886a9f 100644
(file)
--- a/
include/configs/sunxi-common.h
+++ b/
include/configs/sunxi-common.h
@@
-272,6
+272,12
@@
#ifndef CONFIG_SPL_BUILD
#include <config_distro_defaults.h>
+/* Enable pre-console buffer to get complete log on the VGA console */
+#define CONFIG_PRE_CONSOLE_BUFFER
+#define CONFIG_PRE_CON_BUF_SZ (1024 * 1024)
+/* Use the room between the end of bootm_size and the framebuffer */
+#define CONFIG_PRE_CON_BUF_ADDR 0x4f000000
+
/*
* 240M RAM (256M minimum minus space for the framebuffer),
* 32M uncompressed kernel, 16M compressed kernel, 1M fdt,